package net.oschina.bilbodai.common.beanutil.property.mapping;

import net.oschina.bilbodai.common.beanutil.property.Property;

/**
 * @author daimao  Date: 2017/1/4 Time: 下午11:47
 * @version $Id$
 */
public class SimpleMappingProperty implements MappingProperty {

    private final Property property;

    public SimpleMappingProperty(Property property) {
        this.property = property;
    }

    @Override
    public Object getValue(Object target) {
        return property.get(target);
    }
}